home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Macintosh / Samples / postr / SAND / SANDFac.h < prev   
Encoding:
Text File  |  1997-07-09  |  728 b   |  31 lines

  1. // Copyright (c)1995 Ray Dream, Inc. All Rights Reserved.
  2. /*$Id: SANDFac.h 1.1 1996/08/22 22:40:06 DAMIEN Exp $*/
  3.  
  4. #ifndef __SandFACT__
  5. #define __SandFACT__  
  6.  
  7. #ifndef __I3DEX__
  8. #include "I3DEx.h"
  9. #endif
  10.                   
  11. // Sand Class Factory :
  12. class SandClassFactory : public IClassFactory {
  13. public:
  14.   SandClassFactory(void);
  15.   ~SandClassFactory(void);
  16.  
  17.   //IUnknown members
  18.   STDMETHODIMP         QueryInterface(REFIID, LPVOID FAR*);
  19.   STDMETHODIMP_(ULONG) AddRef(void);
  20.   STDMETHODIMP_(ULONG) Release(void);
  21.  
  22.   //IClassFactory members
  23.   STDMETHODIMP         CreateInstance(LPUNKNOWN, REFIID, LPVOID FAR*);
  24.   STDMETHODIMP         LockServer(BOOL);
  25. protected:
  26.   ULONG           m_cRef;
  27.   };                         
  28.  
  29. #endif
  30.  
  31.